package com.zzyl.service;

import com.zzyl.base.PageResponse;
import com.zzyl.dto.NursingLevelDto;
import com.zzyl.entity.NursingLevel;
import com.zzyl.vo.NursingLevelVo;

import java.util.List;

public interface NursingLevelService {
    //查询所有护理等级
    List<NursingLevelVo> getAll();

//护理等级条件分页查询
    PageResponse<NursingLevelVo> listByPage(Integer pageNum, Integer pageSize, String name, Integer status);
//新增护理等级
    void insert(NursingLevelDto nursingLevelDto);
//根据ID查询护理条目
    NursingLevel getById(Long id);
//修改
    void update(NursingLevelDto nursingLevelDto);
//删除功能
    void delete(Long id);
}
